package com.luoran.bartalks.service;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.luoran.bartalks.action.vo.EChartsVo;
import com.luoran.bartalks.entity.biz.BtPlanEntry;

@Service
public interface IBtEChartsService {

	/**
	 * 获取 title数据
	 * 
	 * @return Map<String, Integer>
	 */
	Map<String, Integer> getTitle(String companyId, String startTime, String endTime);

	/**
	 * 获取 ECharts pie 数据
	 * 
	 * @return List<EChartsVo>
	 */
	List<EChartsVo> getPie(String projectType, String companyId, String startTime, String endTime);

	/**
	 * 获取 ECharts scatter 分周统计数据
	 * 
	 * @return List<EChartsVo>
	 */
	List<EChartsVo> getScatterNumber(String startTime, String endTime, String positionId);

	/**
	 * 获取 ECharts bar 分月统计数据
	 * 
	 * @return List<EChartsVo>
	 */
	List<EChartsVo> getBarNumber(String startTime, String endTime, String planId);

	/**
	 * 获取 ECharts bar planEntrys数据
	 * 
	 * @return List<BtPlanEntry>
	 */
	List<BtPlanEntry> getPlanEntrysByBar(String companyId, String startTime, String endTime);

	/**
	 * 获取 ECharts sankey 数据
	 * 
	 * @return List<BtPlanEntry>
	 */
	List<BtPlanEntry> getPlanEntrysBySankey(String companyId, String startTime, String endTime);

	/**
	 * 获取 ECharts scatter数据
	 * 
	 * @return List<EChartsVo>
	 */
	List<EChartsVo> getScatter(String companyId, String startTime, String endTime);

}